package com.wish.g01.base.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.wish.g01.base.entity.CwReceiptPlan;
import lombok.Data;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @ClassName CwReceiptPlanDto
 * @Description TODO
 * @Author MQ
 * @Date 2022/5/30 19:27
 */
@Data
@ToString
public class CwReceiptPlanDto implements Serializable {

    //小区名称
    private String premiseName;
    //租客姓名
    private String tenantName;
    //收款单号
    private String receiptOrderNo;
    //收款状态
    private Integer skStatus;
    //账单类型
    private Integer billType;
    //租房合同编号
    private String contractNo;
    //应收日期开始时间
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GTM+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date collectionDateStart;
    //应收日期开始时间
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GTM+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date collectionDateEnd;
    //实收时开始时间
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GTM+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date realCollectionDateStart;
    //实收结束时间
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GTM+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date realCollectionDateEnd;
    //收款类型
    private Integer receiptType;
    private Integer current = 1;
    private Integer size = 10;

    //应收金额
    private BigDecimal collectionSum;

    //实收金额
    private BigDecimal realCollectionSum;

    private BigDecimal paymentAmount;

}
